<?php
class PostTag extends MModel {
    static $table_name = 'ml_microblog_posts_tags';
    static $belongs_to = array(
        array('ml_microblog_posts', 'class_name'=>'Post'),
        array('ml_microblog_tags', 'class_name'=>'Tag'),
    );
    static $alias_attribute = array(
        'post'=>'ml_microblog_posts',
        'tag'=>'ml_microblog_tags'
    );
}
?>
